package com.JobFind.DTO;

import com.JobFind.model.TbCompany;

public class CompanyDTO implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	
	private Integer companyId;
    private String companyName;
    private String companyLoginName;
    private String companyPwd;
    private String companyPhone;
    private String companyEmail;
    private String companyAdmin;
    private String adminCard;
    private String companyLogo;
    private Integer companyStatus;
    private String companyRemarks;
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getCompanyPwd() {
		return companyPwd;
	}
	public void setCompanyPwd(String companyPwd) {
		this.companyPwd = companyPwd;
	}
	public String getCompanyPhone() {
		return companyPhone;
	}
	public void setCompanyPhone(String companyPhone) {
		this.companyPhone = companyPhone;
	}
	public String getCompanyEmail() {
		return companyEmail;
	}
	public void setCompanyEmail(String companyEmail) {
		this.companyEmail = companyEmail;
	}
	public String getCompanyAdmin() {
		return companyAdmin;
	}
	public void setCompanyAdmin(String companyAdmin) {
		this.companyAdmin = companyAdmin;
	}
	public String getAdminCard() {
		return adminCard;
	}
	public void setAdminCard(String adminCard) {
		this.adminCard = adminCard;
	}
	
	public String getCompanyLoginName() {
		return companyLoginName;
	}
	public void setCompanyLoginName(String companyLoginName) {
		this.companyLoginName = companyLoginName;
	}
	public String getCompanyLogo() {
		return companyLogo;
	}
	public void setCompanyLogo(String companyLogo) {
		this.companyLogo = companyLogo;
	}
	public Integer getCompanyStatus() {
		return companyStatus;
	}
	public void setCompanyStatus(Integer companyStatus) {
		this.companyStatus = companyStatus;
	}
	public String getCompanyRemarks() {
		return companyRemarks;
	}
	public void setCompanyRemarks(String companyRemarks) {
		this.companyRemarks = companyRemarks;
	}
	
	public TbCompany toDAO(){
		TbCompany companyBean = new TbCompany();
		companyBean.setAdminCard(this.getAdminCard());
		companyBean.setCompanyAdmin(this.getCompanyAdmin());
		companyBean.setCompanyEmail(this.getCompanyEmail());
		companyBean.setCompanyId(this.getCompanyId());
		companyBean.setCompanyLoginName(this.getCompanyLoginName());
		companyBean.setCompanyLogo(this.getCompanyLogo());
		companyBean.setCompanyName(this.getCompanyName());
		companyBean.setCompanyPhone(this.getCompanyPhone());
		companyBean.setCompanyPwd(this.getCompanyPwd());
		companyBean.setCompanyRemarks(this.getCompanyRemarks());
		companyBean.setCompanyStatus(this.getCompanyStatus());
		return companyBean;
	}
}
